package io.framework.modules.water.dao;

import io.framework.common.dao.BaseDao;
import io.framework.modules.water.entity.WaterFractureSurfaceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 地表水 监测断面水质评价表
 *
 * @author Gujq email
 * @since 1.0.0 2020-05-22
 */
@Mapper
public interface WaterFractureSurfaceDao extends BaseDao<WaterFractureSurfaceEntity> {

    List<Map<String, Object>> getWaterFractureSurfacePassInfo(Map<String, Object> params);

    Map<String, Object> getCreateDate();

    List<Map<String, Object>> getWaterFractureSurfacePass(Map<String, Object> params);

    List<Map<String, Object>> getWaterRateInfo(Map<String, Object> params);

    List<Map<String, Object>> getWaterRate(Map<String, Object> params);

    int deleteInfoByDate(@Param("year") String year);

    List<WaterFractureSurfaceEntity> listByMapAndStationIds(Map<String, Object> params);

    Map<String, Object> maxTime();
}
